home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 07 - 1991 / 07.08 Aug 91 / Browser sources / Browser.c next >
Encoding:
C/C++ Source or Header  |  1991-01-19  |  798 b   |  26 lines  |  [TEXT/KAHL]

  1. /******************************************************/
  2. /*                                                                                                      */
  3. /*    Browser.c                                                                                  */
  4. /*                                                                                                      */
  5. /*    This is the main program for the Browser; it           */
  6. /*    creates an instance of the application and starts    */
  7. /*    it running.                                                                              */
  8. /*                                                                                                      */
  9. /*    Written in Think C version 4.0.2                                  */
  10. /*    Based on Starter.c                                                              */
  11. /*                                                                                                      */
  12. /*    Allen Stenger    January 1991                                              */
  13. /*                                                                                                      */
  14. /******************************************************/
  15.  
  16. #include "CBrowserApp.h"
  17.  
  18. extern    CApplication    *gApplication;
  19.  
  20. void main()
  21. {
  22.     gApplication = new(CBrowserApp);
  23.     ((CBrowserApp *)gApplication)->IBrowserApp();
  24.     gApplication->Run();
  25.     gApplication->Exit();
  26. }